PHY ATTACH CLOTH TO SHAPE

Attaches a cloth object to the specified shape ( rigid body ).

  Syntax
PHY ATTACH CLOTH TO SHAPE ID, object, mode
  Parameters
ID
Integer
identification number of the cloth
object
Integer
identification number of the rigid body object that the cloth is to be attached to
mode
Integer
a value indicating the attachment mode with 0 indicating object to cloth interaction and 1 setting object to cloth and cloth to object interaction

  Returns

  Description

The attachment process works by attaching any points on the cloth object that collide with the shape to that shape.

  Example Code
No example code is provided for this command